import { get, post } from "@/utils/request";

// 列表
export const list = (params) => get("api/staff/list", params);

// 添加
export const add = (data) => post("api/staff/add", data);

// 删除
export const delet = (params) => get("api/staff/delete", params);

// 批量删除
export const deleteall = (data) => post("api/staff/deleteall", data);

// 职员类型
export const lists = (params) => get("api/stafftype/list", params);